home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy - name/value pair
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- - Base class
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilPropSet.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- An iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy object is used to associate a name string with a value. It
- is an element of an iiiillllPPPPrrrrooooppppSSSSeeeetttt object which represents a collection of
- properties. Any object in the IL that is derived from iiiillllLLLLiiiinnnnkkkk has an
- iiiillllPPPPrrrrooooppppSSSSeeeetttt associated with it and so it is possible to assign and modify
- named properties to such objects. In most instances, there is no need to
- directly manipulate an iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy object since methods exist to access it
- indirectly through iiiillllPPPPrrrrooooppppSSSSeeeetttt and through iiiillllLLLLiiiinnnnkkkk. However, it can be
- accessed directly in order to get and set its value and to get its name.
- Its value can be either an integer, a float, or a pointer. Its name is
- an iiiiffffllllNNNNaaaammmmeeee object. An iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy object cannot simultaneously be an
- element of more than one iiiillllPPPPrrrrooooppppSSSSeeeetttt object.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
- ilProperty(iflName* n, const ilPropValue& v)
-
- GGGGeeeetttt////sssseeeetttt mmmmeeeetttthhhhooooddddssss
-
- void setVal(float f)
- void setVal(int i)
- void setVal(void* p)
- void setVal(const ilPropValue& v)
- float getFloat() const
- int getInt() const
- void* getPtr() const
- iflName* getName() const
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy(((())))
-
- ilProperty(iflName* n, const ilPropValue& v)
-
-
- Create a new ilProperty object with name specified by _n and value _v.
- The value argument is a reference to an object of type ilPropValue
- which has the following definition:
-
- union ilPropValue {
- ilPropValue(int I) { i = I; }
- ilPropValue(float F) { f = F; }
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllPPPPrrrrooooppppeeeerrrrttttyyyy((((3333))))
-
-
-
- ilPropValue(void* P) { p = P; }
- ilPropValue(const ilPropValue& V) { *this = V; }
- void* p;
- float f;
- int i;
- };
-
-
- ggggeeeettttFFFFllllooooaaaatttt(((())))
-
- float getFloat() const
-
-
- Return the property value interpreted as a float.
-
- ggggeeeettttIIIInnnntttt(((())))
-
- int getInt() const
-
-
- Return the property value interpreted as an integer.
-
- ggggeeeettttNNNNaaaammmmeeee(((())))
-
- iflName* getName() const
-
-
- Return a pointer to the property name.
-
- ggggeeeettttPPPPttttrrrr(((())))
-
- void* getPtr() const
-
-
- Return the property value interpreted as an pointer.
-
- sssseeeettttVVVVaaaallll(((())))
-
- void setVal(float f)
- void setVal(int i)
- void setVal(void* p)
- void setVal(const ilPropValue& v)
-
-
- Set the value of the property. This method is overloaded to support
- each of the value types: float, integer, and pointer and also to
- copy another property value.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ilPropSet, ilPropList, ilPropTable, ilLink, iflName, iflDictionary
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-